import datetime
from dataclasses import dataclass

from src.core.models.enums import SubscriptionStatus, SubscriptionType


@dataclass(frozen=True)
class SubscriptionDTO:
    id: int
    user_id: int
    status: SubscriptionStatus
    type: SubscriptionType
    calendars_count: int
    start_date: datetime.datetime
    end_date: datetime.datetime
